export interface IPerson {
    id: string,
    name: string,
    age: number
}

//一个自定义类型
export type Persons = Array<IPerson>

// export type Persons = IPerson[]  简洁写法